/*   
 * Copyright (c) 2010-2020 ISCAS. All Rights Reserved.   
 *   
 * This software is the confidential and proprietary information of   
 * ISCAS. You shall not disclose such Confidential Information   
 * and shall use it only in accordance with the terms of the agreements   
 * you entered into with ISCAS.   
 *   
 */ 

package com.iot.ic.utils;

import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.io.InputStream;

/**  
* @Description: excel操作工具类
* @author   caiyang
* @date 2015年9月23日 上午10:21:51 
* @version V1.0  
 */
public class PoiUtil {

	/**   
	 * @Description: 获取上传的文件流
	 * @author caiyang
	 * @param: @param myfile
	 * @param: @return
	 * @param: @throws IOException      
	 * @return: InputStream      
	 * @throws   
	 */
	public static InputStream getUploadFileStream(MultipartFile myfile) throws IOException
	{
		InputStream inputStream = myfile.getInputStream();
		return inputStream;
	}
}
